package com.hb.core.pojo.project.section.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDateTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hb.core.pojo.parent.MPCommonEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 供应商招标文件下载记录表
 * </p>
 *
 * @author zhongdl
 * @since 2021-12-31
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("trade_bid_down_record")
@ApiModel(value="BidDownRecord对象", description="供应商招标文件下载记录表")
public class BidDownRecord extends MPCommonEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "标段ID")
    private Long sectionId;

    @ApiModelProperty(value = "招标文件ID")
    private Long fileId;

    @ApiModelProperty(value = "投标人ID")
    private Long bidderId;

    @ApiModelProperty(value = "最后一次文件下载时间")
    @JsonFormat(shape= JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime downTime;

    @ApiModelProperty(value = "组织机构Id")
    private Long orgId;


}
